class CreatePairs < ActiveRecord::Migration
  def self.up
    create_table :pairs, :primary_key => "pair_id" do |table|
      table.column :lock, :boolean, :null => false
      table.column :created_at, :date, :null => false
    end    
  end

  def self.down
    drop_table :pairs
  end
end
